/*======================
	company:daoking.cn
	author:YaoRen
	e-mail:185653386@qq.com
	date:2015-06-18
======================*/

function disable(event) {
    event.preventDefault();
}
//区域禁止手势滑动
function windowLock(opt){
	opt.on('touchmove', disable);
}
//区域允许手势滑动
function windowUnlock(opt){
	opt.off('touchmove', disable);
}

$(function(){
	$(".photo").each(function(){
		var photo_num = $(this).find(".photo_list div").length;
		$(this).find(".num span").text(photo_num);
	});
});



